<form action="" class="form-horizontal" role="form">

	<div class="form-group">
		<label class="col-sm-2 control-label">审车团标题</label>
		<div class="col-sm-3">
			<input type="text" class="form-control" name="title" placeholder="" datatype="*" value="{$cartTeam.title}" />
		</div>
	</div>
	<div class="form-group">
		<label class="col-sm-2 control-label">审车团内容</label>
		<div class="col-sm-6">
			<textarea class="form-control" name="content" placeholder="" datatype="*" rows="5">{$cartTeam.content}</textarea>
		</div>
	</div>
	<div class="form-group">
		<label class="col-sm-2 control-label">审车团结束日期</label>
		<div class="col-sm-3">
			<input type="text" class="form-control" id="end-time" name="end_time" datatype="*" value="{$cartTeam['end_time']?date('Y-m-d H:i', $cartTeam['end_time']):''}" />
		</div>
	</div>

	<div class="form-group">
		<div class="col-sm-offset-2 col-sm-8">
			<input type="hidden" name="id" value="{$cartTeam.id}">
			<a class="btn btn-default" onclick="javascript:history.go(-1)">返回上页</a>
			<a class="btn btn-default" onclick="self.location=document.referrer">返回上页并刷新</a>
			<button type="submit" class="btn btn-primary submit" data-loading-txt="提交中，请稍后……" data-ajax-url="__CONTROLLER__/save">保存更改</button>
		</div>
	</div>
</form>

<!-- datetimepicker -->
<link rel="stylesheet" href="/Public/Style/Common/datetimepicker/jquery-ui-1.10.0.custom.min.css">
<script type="text/javascript" src="/Public/Style/Common/datetimepicker/jquery-ui-1.10.0.custom.min.js"></script>
<script type="text/javascript" src="/Public/Style/Common/datetimepicker/jquery-ui-timepicker-addon.js"></script>
<script type="text/javascript" src="/Public/Style/Common/datetimepicker/jquery-ui-timepicker-zh-CN.js"></script>
<script type="text/javascript">
  //时间
  $("#end-time").datetimepicker( { "timeFormat": "hh:mm" } );
</script>
